﻿@using System.Web.UI.WebControls
@using MyTimeLine.Util
@model MyTimeLine.Models.Views.ContatoModel
           
@{
    
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@section HeaderSection {
    <h1>@Mensagens.Contato_Page_Titulo</h1>
}

<div class="grid_48">
    <h2>@Mensagens.Contato_Sub_Titulo</h2>
</div>

<div class="grid_48">
@using (Html.BeginForm())
{
    <p class="grid_48">@Html.ValidationSummary()</p>
    <p class="grid_7">
        @Html.LabelFor(model => model.Nome):
    </p>
    <p class="grid_38">
        @Html.TextBoxFor(model => model.Nome, new { @class="text-box single-line", maxlength = "100", @placeholder = string.Format(Mensagens.Generico_Placeholder_Preencher, MensagensLabel.Generico_Nome) })
    </p>
    <p class="grid_2">    
        @Html.ValidationMessageFor(model => model.Nome, "*")
    </p>
    
    <p class="grid_7">
        @Html.LabelFor(model => model.ValorTipoEmail):
    </p>
    
    <p class="grid_38">
        @Html.TextBoxFor(model => model.ValorTipoEmail, new { @class = "text-box single-line", maxlength = "20", placeholder = string.Format(Mensagens.Generico_Placeholder_Preencher, MensagensLabel.Contato_Tipo_Contato) })
    </p>
    <p class="grid_2">    
        @Html.ValidationMessageFor(model => model.ValorTipoEmail, "*")
    </p>
    <p class="grid_7">
        @Html.LabelFor(model => model.Email):
    </p>
    <p class="grid_38">
        @Html.TextBoxFor(model => model.Email, new { @class = "text-box single-line", maxlength = "50", placeholder = string.Format(Mensagens.Generico_Placeholder_Preencher, MensagensLabel.Generico_Email) })
    </p>
    <p class="grid_2">
        @Html.ValidationMessageFor(model => model.Email, "*")
    </p>
    <p class="grid_7">
        @Html.LabelFor(model => model.Mensagem):
    </p>
    <p class="grid_38">
        @Html.TextAreaFor(m => m.Mensagem, 4, 20, new { maxlength = "1000", placeHolder = string.Format(Mensagens.Generico_Placeholder_Preencher, MensagensLabel.Contato_Mensagem) })
    </p>
    <p class="grid_2">
        @Html.ValidationMessageFor(model => model.Mensagem, "*")
    </p>
    
    <p class="push_20 grid_4 paddind_top_10">
        <input type="submit" value="@Mensagens.Contato_Botao_Label_Enviar"/>
    </p>
}

</div>


